<script>
	const ossUrl = 'https://cos.golfren.vip/wx-mini';
	export default {
		onLaunch: function() {
			console.log('App Launch')
			// 需要在app.vue中下载字体
			// uni.loadFontFace({
			// 	global: true,
			// 	family: 'SourceHanSansCN',
			// 	source: `url("${ossUrl}/template/card/1/SourceHanSansCN-Bold.otf")`,
			// 	success() {
			// 		console.log('SourceHanSansCN字体加载成功')
			// 	}
			// })
			// uni.loadFontFace({
			// 	global: true,
			// 	family: 'douyuFont',
			// 	source: `url("${ossUrl}/template/card/1/douyuFont-2.otf")`,
			// 	success() {
			// 		console.log('douyuFont字体加载成功')
			// 	}
			// })
			//cycq
			//uni.setStorageSync('token', '47bcb44cd3cdb1dab0717372cd6df1b3')
			//uni.setStorageSync('token', '88dffbeaaae334ebc41bf3ff70958d5c')
			
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
	@import "@/common/style/global.scss";
	video {
		width: 100%;
		height: 100%;
	}
</style>